<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/vue.js"></script>
    <link href="https://cdn.jsdelivr.net/npm/animate.css@3.5.1" rel="stylesheet" type="text/css">
</head>
<body>
<div id="app">
    <input type="button" value="切换" @click="flag=!flag">
    <transition name="custom-classes-transition"
                enter-active-class="animated tada"
                leave-active-class="animated bounceOutRight"
    >
        <h3 v-show="flag">这是一个h3</h3>
    </transition>
</div>
<script>
    new Vue({
        el: "#app",
        data: {msg: '测试', flag: true}

    })
</script>
</body>
</html>
